# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=xfontsel
pkgver=1.1.0
pkgrel=1
pkgdesc="Point and click selection of X11 font names"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libxaw-dev libxmu-dev libxt-dev libx11-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xfontsel-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
d951945a611d1c25877b70bae32ba67ec542aa3f42bd943c17509674414aa4598460792e73381d4d809753ad36a803163e2712b1d0b464c9c15d5dcddecb558e  xfontsel-1.1.0.tar.gz
"
